package cn.zmit.kuxi.adapter;

import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import cn.zmit.kuxi.fragment.GuideFragmentOne;
import cn.zmit.kuxi.fragment.GuideFragmentThree;
import cn.zmit.kuxi.fragment.GuideFragmentTwo;

/** * @author chenxu 
 * @parameter 
 * 
 *  * @return  
 *  
 *  */
public class GuideFragmentAdapter extends FragmentPagerAdapter {
	private Fragment[]fragments=new Fragment[]{new GuideFragmentOne(),new GuideFragmentTwo(),
			new GuideFragmentThree()};
	public GuideFragmentAdapter(FragmentManager fm) {
		super(fm);
	}

	@Override
	public Fragment getItem(int position) {
		// TODO Auto-generated method stub
		return fragments[position];
	}

	@Override
	public int getCount() {
		// TODO Auto-generated method stub
		return fragments.length;
	}

}
